package com.doudou.pay.helper.mapper;

import com.doudou.pay.helper.entities.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

	User findByUsername(String username);

	public int updateBalance(@Param("userId") String userId,
			@Param("rechargeMoney") double rechargeMoney);

	public int updateAmount(@Param("userId") String userId,
							 @Param("money") double money);
}
